package com.zscat.mallplus.qsg;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("qsg_teaching_assistant")
public class QsgTeachingAssistant implements Serializable {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.id
     *
     * @mbggenerated
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.nickname
     *
     * @mbggenerated
     */
    @TableField("nickname")
    private String nickname;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.age
     *
     * @mbggenerated
     */
    @TableField("age")
    private Integer age;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.service_year
     *
     * @mbggenerated
     */
    @TableField("service_year")
    private String serviceYear;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.signature
     *
     * @mbggenerated
     */
    @TableField("signature")
    private String signature;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.teach_level
     *
     * @mbggenerated
     */
    @TableField("teach_level")
    private String teachLevel;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.price
     *
     * @mbggenerated
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.img_url
     *
     * @mbggenerated
     */
    @TableField("img_url")
    private String imgUrl;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column qsg_teaching_assistant.create_datetime
     *
     * @mbggenerated
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_datetime")
    private Date createDatetime;

    @TableField("phone")
    private String phone;

    @TableField("sort")
    private int sort;

    @TableField(exist = false)
    private Integer currentStatus;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table qsg_teaching_assistant
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;
}